Skip to content

Conversation

@alexcrichton
Copy link
Member

No description provided.

@bors bors closed this Dec 15, 2013
@bors bors merged commit 6747d07 into rust-lang:master Dec 15, 2013
@alexcrichton alexcrichton deleted the feature-update branch December 16, 2013 05:53
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jun 30, 2023
…iraffate

new lint [`single_range_in_vec_init`]

Lints on `vec![0..200]` (or `[0..200]`), suggesting either `(0..200).collect::<Vec<i32>>()` or `[0; 200]`.

Haven't tested it with anything that isn't primitive. Probably should!

Closes rust-lang#10932

changelog: new lint [`single_range_in_vec_init`]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants